package com.design.composite.football;

/**
 * @author xiemiao
 * @description 队员
 * @date 2023/08/16
 */
public class Member implements FootballNode {

    private String name;

    public Member(String name) {
        this.name = name;
    }

    @Override
    public void display() {
        System.out.println("队员：" + name);
    }
}
